﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace GameName1
{
    abstract class XnaGameObjectDecorator : GameObject
    {
        public Texture2D Sprite { get; set; }

        public Rectangle getColissionBox()
        {
                return new Rectangle((int) Position.X, (int) Position.Y, Sprite.Width, Sprite.Height);
        }
    }
}
